/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.admin.model;

import com.entities.ContactMessage;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Tuan Long
 */
@Local
public interface ContactMessageFacadeLocal {

    void create(ContactMessage contactMessage);

    void edit(ContactMessage contactMessage);

    void remove(ContactMessage contactMessage);

    ContactMessage find(Object id);

    List<ContactMessage> findAll();

    List<ContactMessage> findRange(int[] range);

    int count();
    
}
